﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009D7 RID: 2519
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KGKOFJGBIDG : IMessage<KGKOFJGBIDG>, IMessage, IEquatable<KGKOFJGBIDG>, IDeepCloneable<KGKOFJGBIDG>, IBufferMessage
	{
		// Token: 0x17001FDF RID: 8159
		// (get) Token: 0x060070F5 RID: 28917 RVA: 0x0012E4C9 File Offset: 0x0012C6C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KGKOFJGBIDG> Parser
		{
			get
			{
				return KGKOFJGBIDG._parser;
			}
		}

		// Token: 0x17001FE0 RID: 8160
		// (get) Token: 0x060070F6 RID: 28918 RVA: 0x0012E4D0 File Offset: 0x0012C6D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KGKOFJGBIDGReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001FE1 RID: 8161
		// (get) Token: 0x060070F7 RID: 28919 RVA: 0x0012E4E2 File Offset: 0x0012C6E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KGKOFJGBIDG.Descriptor;
			}
		}

		// Token: 0x060070F8 RID: 28920 RVA: 0x0012E4E9 File Offset: 0x0012C6E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KGKOFJGBIDG()
		{
		}

		// Token: 0x060070F9 RID: 28921 RVA: 0x0012E4F4 File Offset: 0x0012C6F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KGKOFJGBIDG(KGKOFJGBIDG other) : this()
		{
			this.pJPEDDJHLLL_ = other.pJPEDDJHLLL_;
			this.fFAHPFGKKBJ_ = ((other.fFAHPFGKKBJ_ != null) ? other.fFAHPFGKKBJ_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060070FA RID: 28922 RVA: 0x0012E540 File Offset: 0x0012C740
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KGKOFJGBIDG Clone()
		{
			return new KGKOFJGBIDG(this);
		}

		// Token: 0x17001FE2 RID: 8162
		// (get) Token: 0x060070FB RID: 28923 RVA: 0x0012E548 File Offset: 0x0012C748
		// (set) Token: 0x060070FC RID: 28924 RVA: 0x0012E550 File Offset: 0x0012C750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PJPEDDJHLLL
		{
			get
			{
				return this.pJPEDDJHLLL_;
			}
			set
			{
				this.pJPEDDJHLLL_ = value;
			}
		}

		// Token: 0x17001FE3 RID: 8163
		// (get) Token: 0x060070FD RID: 28925 RVA: 0x0012E559 File Offset: 0x0012C759
		// (set) Token: 0x060070FE RID: 28926 RVA: 0x0012E561 File Offset: 0x0012C761
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameRogueMiracle FFAHPFGKKBJ
		{
			get
			{
				return this.fFAHPFGKKBJ_;
			}
			set
			{
				this.fFAHPFGKKBJ_ = value;
			}
		}

		// Token: 0x060070FF RID: 28927 RVA: 0x0012E56A File Offset: 0x0012C76A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KGKOFJGBIDG);
		}

		// Token: 0x06007100 RID: 28928 RVA: 0x0012E578 File Offset: 0x0012C778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KGKOFJGBIDG other)
		{
			return other != null && (other == this || (this.PJPEDDJHLLL == other.PJPEDDJHLLL && object.Equals(this.FFAHPFGKKBJ, other.FFAHPFGKKBJ) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007101 RID: 28929 RVA: 0x0012E5C8 File Offset: 0x0012C7C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PJPEDDJHLLL != 0U)
			{
				num ^= this.PJPEDDJHLLL.GetHashCode();
			}
			if (this.fFAHPFGKKBJ_ != null)
			{
				num ^= this.FFAHPFGKKBJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007102 RID: 28930 RVA: 0x0012E61D File Offset: 0x0012C81D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007103 RID: 28931 RVA: 0x0012E625 File Offset: 0x0012C825
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007104 RID: 28932 RVA: 0x0012E630 File Offset: 0x0012C830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PJPEDDJHLLL != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.PJPEDDJHLLL);
			}
			if (this.fFAHPFGKKBJ_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.FFAHPFGKKBJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007105 RID: 28933 RVA: 0x0012E68C File Offset: 0x0012C88C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PJPEDDJHLLL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PJPEDDJHLLL);
			}
			if (this.fFAHPFGKKBJ_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FFAHPFGKKBJ);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007106 RID: 28934 RVA: 0x0012E6E4 File Offset: 0x0012C8E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KGKOFJGBIDG other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PJPEDDJHLLL != 0U)
			{
				this.PJPEDDJHLLL = other.PJPEDDJHLLL;
			}
			if (other.fFAHPFGKKBJ_ != null)
			{
				if (this.fFAHPFGKKBJ_ == null)
				{
					this.FFAHPFGKKBJ = new GameRogueMiracle();
				}
				this.FFAHPFGKKBJ.MergeFrom(other.FFAHPFGKKBJ);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007107 RID: 28935 RVA: 0x0012E74C File Offset: 0x0012C94C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007108 RID: 28936 RVA: 0x0012E758 File Offset: 0x0012C958
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 82U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.fFAHPFGKKBJ_ == null)
						{
							this.FFAHPFGKKBJ = new GameRogueMiracle();
						}
						input.ReadMessage(this.FFAHPFGKKBJ);
					}
				}
				else
				{
					this.PJPEDDJHLLL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002B14 RID: 11028
		private static readonly MessageParser<KGKOFJGBIDG> _parser = new MessageParser<KGKOFJGBIDG>(() => new KGKOFJGBIDG());

		// Token: 0x04002B15 RID: 11029
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002B16 RID: 11030
		public const int PJPEDDJHLLLFieldNumber = 8;

		// Token: 0x04002B17 RID: 11031
		private uint pJPEDDJHLLL_;

		// Token: 0x04002B18 RID: 11032
		public const int FFAHPFGKKBJFieldNumber = 10;

		// Token: 0x04002B19 RID: 11033
		private GameRogueMiracle fFAHPFGKKBJ_;
	}
}
